import java.util.Scanner;
public class AAAAA {
    public static void main(String[] args) {
        Scanner A = new Scanner(System.in);
        System.out.println("请输入价格");
        int i = A.nextInt();
        System.out.println("亲，包邮吗");
        String n = A.next();
        if(n.equals("yes")){
            System.out.println(i);
        }
        if(n.equals("no")){
            System.out.println(i+20);
        }
    }
}
